<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/11/10
 * Time: 11:16
 */

Route::group([

], function () {
	//获取微信jsdk授权
    //获取订单详情接口
    Route::get('/getConfig','HomeController@getConfig');
    Route::get('/getTopicDetail','HomeController@getTopicDetail');
    Route::get('/get_login','HomeController@get_login');
    Route::get('/userLogin','HomeController@userLogin');
    Route::post('/join_topic','HomeController@join_topic');
    //获取众筹活动须知等内容
    Route::get('/getInfo','HomeController@getInfo');
    //获取个人的众筹情况
    Route::get('/getList','HomeController@getList');
    // 获取众筹列表捐赠者
    Route::get('/getOrder','HomeController@getOrder');
    //获取报名相关
    Route::get('/getTotal','HomeController@getTotal');
    // pay支付下单接口
    Route::post('/pay','HomeController@pay');
    //查询订单是否支付成功
    Route::get('/searchOrder','HomeController@searchOrder');
    //取消支付
    Route::get('/cancelOrder','HomeController@canOrder()')
});